﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Main/Views/Shared/_Layout.cshtml";
}

@model IEnumerable<shop.SanPham>
<div class="products-home">
    <ul class="products-grid row">
        @foreach (var item in Model)
        {
            <li class="item first span3">
                <div class="products-box">
                    <div class="view view-third">
                        <img alt="@item.TenSP" src="/images/sanpham/@item.HinhAnh">
                        <div class="mask">
                            <h2>@item.TenSP</h2>
                            <br />
                            <p style="font-size: 25px">Giá: @String.Format("{0:0,0 đ}", @item.Gia)</p>
                            <a href="/sanpham/chitiet?MaSP=@item.MaSP" class="info">Xem chi tiết</a>
                        </div>
                    </div>
                    <div class="price-action">
                        <div class="price-box">
                            <span class="regular-price" id="product-price-44">
                                <span class="price">@item.TenSP </span>
                            </span>
                        </div>
                    </div>
                </div>
            </li>
        }

    </ul>
</div>

